package org.asociacion.backend.bo;

import org.asociacion.backend.persistence.entities.TblCity;

public class CityBo {
	
	private Integer id;
	private String name;
	private String state;
	
	public CityBo(){
		
	}
	
	public CityBo(TblCity city) {
		id = city.getId();
		name = city.getName();
		state = city.getTblState().getName();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
